import http from "@/api/httpApi/base/http.js";

//获取地图的列表
export const getMapList = (page = 1, size = 99999) => {
    return http.requestGet("/admin/address/list/" + page + "/" + size);
};

//添加地图
export const addMap = (map) => {
    return http.requestPost("/admin/address", map);
};

//修改地图
export const updateMap = (map) => {
    return http.requestPut("/admin/address", map);
};

//删除地图
export const delMap = (ids) => {
    return http.requestDeleteArr("/admin/address", "id", ids);
};
